import request from '@/utils/request'
export function generateCode(query) {
  return request({
    url: '/assay/generateCode',
    method: 'post',
    data: query
  })
}
export function qrcodeList(query) {
  return request({
    url: '/assay/list',
    method: 'get',
    query: query
  })
}
export function getHyRecord(query) {
  return request({
    url: '/assay/getHyRecord',
    method: 'post',
    data: query
  })
}
export function getHyClassT(query) {
  return request({
    url: '/assay/getHyClassT',
    method: 'post',
    data: query
  })
}
export function updateProject(query) {
  return request({
    url: '/assay/updateProject',
    method: 'post',
    data: query
  })
}

export function addCpHyProject(query) {
  return request({
    url: '/assay/addCpHyProject',
    method: 'post',
    data: query
  })
}
  export function updateHyDetail(query) {
    return request({
      url: '/assay/updateHyDetail',
      method: 'post',
      data: query
    })
  }
export function getTestReport(query) {
  return request({
    url: '/assay/getTestReport',
    method: 'get',
    params: query
  })
}
export function getTestDetail(query) {
  return request({
    url: '/assay/getTestDetail',
    method: 'post',
    data: query
  })
}
export function getTestCount(query) {
  return request({
    url: '/assay/getTestCount',
    method: 'post',
    data: query
  })
}
export function getTestType(query) {
  return request({
    url: '/assay/getTestType',
    method: 'post',
    data: query
  })
}
export function getReadCount(query) {
  return request({
    url: '/assay/getReadCount',
    method: 'post',
    data: query
  })
}
export function getHyClassM(query) {
  return request({
    url: '/assay/getHyClassM',
    method: 'post',
    data: query
  })
}
export function selectReadCountByClassName(query) {
  return request({
    url: '/assay/selectReadCountByClassName',
    method: 'post',
    data: query
  })
}

